= f.error_messages
%p
  = f.label :title, "Title:", :class => "title"
  = f.text_field :title, :class => "title"
  %span.right
    &hearts;
    = f.label :category_id, "Category:"
    = select "article", "category_id", Category.all.collect {|c| [c.name, c.id]}
%p
  = f.label :tag_list, "Tags:", :class => "tag"
  = f.text_field :tag_list, :class => "tag"
  %span.right
    &spades; 
    = f.label :stickied, "Stickied:"
    = f.check_box :stickied
%p#all_tags
  - Tag.all.each do |tag|
    = show_tag_name_warp_by_span(@article, tag)
%p
  = f.label :summary, "Description:", :class => "line"
  = f.text_area :summary, :class => "summary"
:javascript
  $(document).ready(function(){
    $("#all_tags").tags();
  })